// +---------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
// +---------------------------------------------------------------------
// | Copyright (c) 2016~2022 https://www.crmeb.com All rights reserved.
// +---------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
// +---------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +---------------------------------------------------------------------

import BasicLayout from '@/components/main';

const pre = 'platform_';

export default {
  path: '/admin/platform',
  name: 'platform',
  header: 'platform',
  redirect: {
    name: `${pre}book`,
  },
  component: BasicLayout,
  children: [
	{
	  path: 'render',
	  name: `${pre}render`,
	  meta: {
	    auth: ['admin-platform-render'],
	    title: '学生列表',
	  },
	  component: () => import('@/pages/platform/render/index'),
	},
	{
	  path: 'jobinfo',
	  name: `${pre}jobinfo`,
	  meta: {
	    auth: ['admin-platform-jobinfo'],
	    title: '招聘列表',
	  },
	  component: () => import('@/pages/platform/jobinfo/index'),
	},
	{
	  path: 'resume',
	  name: `${pre}resume`,
	  meta: {
	    auth: ['admin-platform-resume'],
	    title: '简历列表',
	  },
	  component: () => import('@/pages/platform/resume/index'),
	},
	{
	  path: 'college',
	  name: `${pre}college`,
	  meta: {
	    auth: ['admin-platform-college'],
	    title: '学校列表',
	  },
	  component: () => import('@/pages/platform/college/index'),
	},
	{
	  path: 'employ',
	  name: `${pre}employ`,
	  meta: {
	    auth: ['admin-platform-employ'],
	    title: '就业列表',
	  },
	  component: () => import('@/pages/platform/employ/index'),
	},
	{
	  path: 'interview',
	  name: `${pre}interview`,
	  meta: {
	    auth: ['admin-platform-interview'],
	    title: '面试列表',
	  },
	  component: () => import('@/pages/platform/interview/index'),
	},
	{
	  path: 'obtain',
	  name: `${pre}obtain`,
	  meta: {
	    auth: ['admin-platform-obtain'],
	    title: '就业列表',
	  },
	  component: () => import('@/pages/platform/obtain/index'),
	}
  ],
};
